import {TOKEN_NAME} from '../store/token';
import {storageGet} from '../store/storage';

export const getToken = () => {
    return {
        name: 'X-Token',
        token: storageGet(TOKEN_NAME)
    };
};
